package com.c6906.vdam.das.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author : TAOHUIQI @Date: 2024/7/27 17:04 @Description:终端历史告警信息详情表
 */
@Data
public class TerminalWarningHistoryDetails {

    @ApiModelProperty(value = "UUID主键")
    private String id;

    // @ApiModelProperty(value = "终端历史异常信息统计表ID")
    // private String warningId;

    @ApiModelProperty(value = "终端唯一编号")
    private String terminalSn;

    @ApiModelProperty(value = "告警起始时间")
    private String warningStartTime;

    @ApiModelProperty(value = "告警结束时间")
    private String warningStopTime;

    @ApiModelProperty(value = "告警持续时间，单位：秒")
    private Long warningLastTime;

    @ApiModelProperty(value = "异常类型(5-超速驾驶,6-疲劳驾驶,7-GNSS模块状,8-终端欠压状态)")
    private int warningType;

    @ApiModelProperty(value = "异常类型名称(5-超速驾驶,6-疲劳驾驶,7-GNSS模块状,8-终端欠压状态)")
    private String warningTypeName;

    @ApiModelProperty(value = "异常起始纬度")
    private BigDecimal startLat;

    @ApiModelProperty(value = "异常起始经度")
    private BigDecimal startLong;

    @ApiModelProperty(value = "异常退出纬度")
    private BigDecimal stopLat;

    @ApiModelProperty(value = "异常退出经度")
    private BigDecimal stopLong;

    @ApiModelProperty(value = "组织层级编码")
    private String regionCode;

    @ApiModelProperty(value = "组织层级名称")
    private String regionName;

    @ApiModelProperty(value = "车辆编码")
    private String vehiclesCode;

    @ApiModelProperty(value = "车牌")
    private String vehPlateNum;

    @ApiModelProperty(value = "车牌颜色名称")
    private String plateColorName;

    @ApiModelProperty(value = "车辆所有权单位ID")
    private Long ownUnitId;

    @ApiModelProperty(value = "车辆所有权单位名称")
    private String ownUnitName;

    @ApiModelProperty(value = "车辆运营单位ID")
    private Long useUnitId;

    @ApiModelProperty(value = "车辆运营单位名称")
    private String useUnitName;

    @ApiModelProperty(value = "数据创建时间")
    private String dataCreate;

    @ApiModelProperty(value = "数据更新时间")
    private String dataUpdate;
}
